package com.hc;

import java.util.List;

public class Teacher {
    private Integer tid;
    private String teacherName;
    private Integer teacherGender;
    private Integer teacherAge;
    private List<Student> stuList;

    public Teacher() {
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", teacherName='" + teacherName + '\'' +
                ", teacherGender=" + teacherGender +
                ", teacherAge=" + teacherAge +
                ", stuList=" + stuList +
                '}';
    }

    public Teacher(Integer tid, String teacherName, Integer teacherGender, Integer teacherAge) {
        this.tid = tid;
        this.teacherName = teacherName;
        this.teacherGender = teacherGender;
        this.teacherAge = teacherAge;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Integer getTeacherGender() {
        return teacherGender;
    }

    public void setTeacherGender(Integer teacherGender) {
        this.teacherGender = teacherGender;
    }

    public Integer getTeacherAge() {
        return teacherAge;
    }

    public void setTeacherAge(Integer teacherAge) {
        this.teacherAge = teacherAge;
    }

    public List<Student> getStuList() {
        return stuList;
    }

    public void setStuList(List<Student> stuList) {
        this.stuList = stuList;
    }
}
